package com.jinly.ryder.common.error;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ErrorInfo {

    private String reqId;
    private String errCode;
    private String errMsg;
    private Object errData;

    public ErrorInfo(String errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
